package com.example.code.vo;

import lombok.Data;

import java.io.Serializable;

@Data
public class GeneralContentResult<T> extends GeneralResult implements Serializable {

    private T resultContent;

    public GeneralContentResult() {
    }

    public GeneralContentResult(int resultCode, String detailDescription, T resultContent) {
        super(resultCode, detailDescription);
        this.resultContent = resultContent;
    }

    public GeneralContentResult(int resultCode, String detailDescription) {
        super(resultCode, detailDescription);
    }
}
